﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Snipplr.master" AutoEventWireup="true" CodeFile="SnippetGet.aspx.cs" Inherits="Tests_Web_SnippetGet" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainFirst" Runat="Server">
        <div class="title"><h3><%= View.Title %></h3></div>
        <div class="meta">
            <a href="<%= View.SnipplrUrl %>"><%= View.SnipplrUrl %></a>
            <div class="date published"><%= View.Created.ToString("yyyy-MM-dd'T'HH:mm:ss'Z'")%></div>
            <div class="date updated"><%= View.Update.ToString("yyyy-MM-dd'T'HH:mm:ss'Z'") %></div>
            <% if (View.Comment != "") { %>
            <div class="summary"><%= View.Comment%></div>
            <% } %>
        </div>
        <div class="content">
            <code>
                <pre><%= View.Code %></pre>
            </code>
        </div>
            
        <dfn class="category" ><%= View.Language %></dfn>
        <ul>
        <% 
       for (int c = 0; c < View.Tags.Length-1; c++){  %>
        <li class="category" ><%= View.Tags[c] %> <li>
        <% } %>
        </ul>
    </div>

</asp:Content>

